package edu.sctu.practice.class02.Wangpeng.Dtest5;

import java.util.Scanner;

/**
 * Created by wp on 2015/12/24.
 */
public class StringLength {
    public static void main(String[] args) {
        System.out.println("输入字符串");
        Scanner input=new Scanner(System.in);
        String s=input.next();
        int i = s.length();
        System.out.println("字符串长度："+i);

    }
}